<?php
// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: allen.qiang@fistforward.com
// +----------------------------------------------------------------------

/**
 * 活动配置模板
 * @package  htdocs
 * @subpackage  quanliadmin
 * @author  allen.qiang@fistforward.com
 */

class pa_activityTemplate {
	
	public function execute() {

        if (isset($_REQUEST['operFlg']) && is_numeric($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch ($_REQUEST['operFlg']){

                case 1: //列表页
                    $this->systemConfig();
                    break;

                default:
                    backendError();
                    break;

            }

        } else {

            backendError();

        }

	}

    /**
     * 系统配置
     */
    private function systemConfig() {

		global $G_PGLOB;

        $G_PGLOB->smarty->assign('edit_permission', $G_PGLOB->has_permission(32));

		$G_PGLOB->smarty->display('system/activitySystemConfig.tpl');

	}

}